package com.zhangxu.microservice.auth.mapstruct;

import com.zhangxu.microservice.auth.biz.dto.LoginReqDTO;
import com.zhangxu.microservice.auth.biz.dto.TokenRespDTO;
import com.zhangxu.microservice.auth.vo.req.LoginReq;
import com.zhangxu.microservice.auth.vo.resp.TokenResp;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface AuthConverter {

    LoginReqDTO toLoginReqDTO(LoginReq loginReq);

    TokenResp toTokenResp(TokenRespDTO tokenRespDTO);
}
